package com.tsd.jxc.pub.service;

import java.util.List;
import java.util.Map;

import com.tsd.core.vo.PageBean;
import com.tsd.jxc.pub.entity.JxcDetailSn;
import com.tsd.jxc.pub.entity.JxcDetailSnExt;
import com.tsd.system.entity.SysUser;

/**
 * 描述：JxcDetailSn服务实现层接口
 *
 * @author david
 * @date 2024/05/07 17:02:29
 */
public interface JxcDetailSnService {

    /**
     * 描述：根据id获取JxcDetailSn
     *
     * @param id
     */
    JxcDetailSn getJxcDetailSnById(Long id)throws Exception;

    /**
    * 描述：根据sid获取JxcDetailSn
    *
    * @param sid
    */
    JxcDetailSnExt queryBySid(String sid)throws Exception;

 	/**
     * 描述：根据sid列表删除JxcDetailSn
     *
     * @param list
     */
	void deleteJxcDetailSns(List<String> list, SysUser opUser)throws Exception;

    /**
    * 描述：保存或更新JxcDetailSn
    *
    * @param record
    * @param opUser
    */
    void saveJxcDetailSn(JxcDetailSn record, SysUser opUser) throws Exception;

	/**
     * 描述：根据params分页查询JxcDetailSn
     *
     * @param params
     * @param page
     */
    List<JxcDetailSnExt> findJxcDetailSns(Map<String, Object> params, PageBean page) throws Exception;

    /**
    * 描述：根据params分页查询JxcDetailSn
    *
    * @param params
    */
    List<JxcDetailSnExt> findJxcDetailSns(Map<String, Object> params) throws Exception;
}
